﻿using System;

namespace VkontakteSharp.Model
{
    /// <summary>
    /// note – заметка
    /// </summary>
    public class Note : Attachment
    {
        [JsonMapping("nid", JsonMapping.MappingType.Primitive)]
        public long Id { get; set; }
        [JsonMapping("uid", JsonMapping.MappingType.Primitive)]
        public long UserId { get; set; }
        [JsonMapping("title", JsonMapping.MappingType.Primitive)]
        public string Title { get; set; }
        [JsonMapping("text", JsonMapping.MappingType.Primitive)]
        public string Text { get; set; }
        [JsonMapping("date", JsonMapping.MappingType.Primitive)]
        public DateTime Date { get; set; }
        [JsonMapping("ncom", JsonMapping.MappingType.Primitive)]
        public int CommentsCount { get; set; }
        [JsonMapping("read_ncom", JsonMapping.MappingType.Primitive)]
        public int ReadCommentsCount { get; set; }
    }
}